#define _CRT_SECURE_NO_WARNINGS 1
#include "seqlist.h"
struct SQElist
{
	SQ arr[MAXSIZE];
	int size;


};


void Init(SL* s)
{
	memset(s->arr ,0, sizeof(SQ) * MAXSIZE);
	s->size = 0;

}

void Print(SL* s)
{
	for (int i = 0; i < s->size; i++)
	{
		printf("%d ", s->arr[i]);
	}


}

void pushFront(SL * s,SQ x)
{
	int end = s->size - 1;
	for (int i=end; i >= 0; --i)
	{
		s->arr[i+1] = s->arr[i];
		
	}
	s->arr[0] = x;
	s->size++;

}